﻿@model DreamStore.WebShop.Models.CustomerPart
           
@{
    var user = Model.User;
}           
<fieldset>
    
    <legend>Customer Fields</legend>

    @*<div class="editor-label">@Html.LabelFor(x => x.Title)</div>*@
    <div class="editor-field">@Html.EditorFor(x => x.Title)</div>
    <br/>
    @*<div class="editor-label">@Html.LabelFor(x => x.FirstName)</div>*@
    <div class="editor-field">
        @Html.EditorFor(x => x.FirstName)
        @Html.ValidationMessageFor(x => x.FirstName)
    </div>
    <br/>
    @*<div class="editor-label">@Html.LabelFor(x => x.LastName)</div>*@
    <div class="editor-field">
        @Html.EditorFor(x => x.LastName)
        @Html.ValidationMessageFor(x => x.LastName)
    </div>
    <br/>
    <div class="editor-label">@Html.LabelFor(x => user.Email)</div>
    <div class="editor-field">
        @Html.TextBoxFor(x => user.Email, new { @class = "large text" })
        @Html.ValidationMessageFor(x => user.Email)
    </div>
    <br/>
</fieldset>